/*
Jack Morris
11/20/14
Chapter 6
Page 122
Assinment 6
*/
#include<stdio.h>

int main (void)
{
  int n,i;
  printf("enter a number: ");
  scanf("%d", &n);
  for(i=2;i<=n;i=i+2)
  {
    if((i*i)%2==0 && (i*i)<= n)
      printf("%d \n",(i*i));
  }
  return 0;
}